package matrix;

import model.DoorModel;
import model.RoomModel;

public class GraphDoor  extends GraphNode
{
	private DoorModel doorModel;
	public GraphDoor(int ID, RoomModel room, DoorModel door)
	{
		super(ID, room, door.AnchoragePoint);
		this.setType(GraphNodeType.Door);
		this.setDoorModel(door);
	}
	
	public String toString()
	{
		return "[" + this.getDoorModel() + " / " + this.getID() + "]";
	}

	public DoorModel getDoorModel() {
		return doorModel;
	}

	public void setDoorModel(DoorModel doorModel) {
		this.doorModel = doorModel;
	}
}
